import React from "react"
import ReactDOM from "react-dom"
import App from "./App"
import store from "./redux/store";

ReactDOM.render(<App/>,document.getElementById('root'))
// 只要redux发生变化就调用render
store.subscribe(()=>{
    ReactDOM.render(<App/>,document.getElementById('root'))
})
